package lhdx2;

import java.util.Scanner;

public class Mimaguanliyin {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        Mimaguanli b = new Mimaguanli();
        System.out.print("请输入用户名：");
        b.yonghus = in.next();
        System.out.print("请输入密码：");
        b.mimas = in.nextInt();
        System.out.println("注册成功！");
        System.out.print("请输入用户名：");
        b.yonghu = in.next();
        System.out.print("请输入密码：");
        b.mima = in.nextInt();
        b.yhff();
        System.out.print("请输入新密码：");
        b.mima = in.nextInt();
        System.out.println("修改成功！新密码为：" + b.mima);

    }
}
